package com.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.*;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName(value = "order_info")
public class Order {
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    private String orderId;
    private String productId;

//    private OrderState orderState;
    private String orderState;

    private Float price;
}
